chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
	if (request.action == "home") {
		var home;
		if (document.getElementById("wpTextbox1") != null)
			home = "wpTextbox1";
		else {
			home = document.activeElement.id;
			if (home == "")
				home = document.activeElement.name;
			if (home == undefined)
				home = "nema";
		}

		sendResponse( {
			home : home
		});
	}
});